Conversation
Co-authored-by: mawad-amd <112003944+mawad-amd@users.noreply.github.com>
Co-authored-by: mawad-amd <112003944+mawad-amd@users.noreply.github.com>
Co-authored-by: mawad-amd <112003944+mawad-amd@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Extends the existing “Intellikit CI Test” GitHub Actions workflow to validate that each subpackage can be installed and imported via all supported installation methods (editable, non-editable, and GitHub VCS install), using a matrix strategy.
Changes:
- Add minimal
GITHUB_TOKENpermissions (contents: read) to the workflow. - Refactor installation/import verification into a matrix over packages × install methods.
- Add a GitHub VCS install path (
pip install git+https://...#subdirectory=...) to exercise “install from GitHub” behavior.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: mawad-amd <112003944+mawad-amd@users.noreply.github.com>
Applied all changes from the review thread:
The matrix now runs 21 combinations (7 packages × 3 install methods). Root project tests skip import verification since there's no top-level module to import. Commit: 36a8676 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: mawad-amd <112003944+mawad-amd@users.noreply.github.com>
Applied all changes from the review thread:
The workflow now correctly handles both push events and pull requests, and the git URLs are properly quoted to survive the nested bash execution. Commit: 51d9854 |
Co-authored-by: mawad-amd <112003944+mawad-amd@users.noreply.github.com>
|
@cursoragent any comments on this pr? |
Plan: Extend CI to verify all supported install methods
Summary
Extended CI to verify all three supported install methods (editable, non-editable, and GitHub) using a matrix strategy for better maintainability.
Changes Made
pip install ./accordo)pip install git+https://github.com/AMDResearch/intellikit.git@sha#subdirectory=accordo)Implementation Details
Single test job with matrix strategy:
fail-fast: falseensures all combinations run even if one failsinstall_method) for proper GitHub Actions expression evaluationInstall methods tested:
pip install -e <package>pip install ./<package>pip install git+https://github.com/AMDResearch/intellikit.git@sha#subdirectory=<package>Import verification:
python3 -c 'import <package>'to verify correct installationGitHub install improvements:
container_exec.shgithub.event.pull_request.head.shafor pull requests instead ofgithub.sha(which is a synthetic merge commit SHA that may not be fetchable)Isolation:
Security:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.